package com.atguigu.srb.sms.client.fallback;

import com.atguigu.srb.sms.client.CoreUserinfoClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: Bright
 * @Date: 2022-04-18 16:04
 * @Description: com.atguigu.srb.sms.client.fallback
 * @version: 1.0
 */
@Service
@Slf4j
public class CoreUserInfoClientFallback implements CoreUserinfoClient {
    @Override
    public boolean checkMobile(String mobile) {
        log.error("远程调用失败，服务熔断");
        return false;
    }
}
